import request from '@/utils/request'
//查
export function getAttendanceManageInfoList(data) {
  return request({
    url: '/tableLeave/list',
    method: 'post',
    data
  })
}

export function getAttendanceManageInfoListNoPage(data) {
  return request({
    url: '/tableLeave/listNoList',
    method: 'post',
    data
  })
}

//新增
export function createAttendanceManageInfo(data) {
  return request({
    url: '/tableLeave/create',
    method: 'post',
    data
  })

}


//修改
export function updateAttendanceManageInfo(data) {
  return request({
    url: '/tableLeave/update',
    method: 'put',
    data
  })
}


//删除
export function deleteLeaverManageInfo(data) {
  return request({
    url: '/tableLeave/delete?idlist='+data,
    method: 'get',

  })
}






